var frisby = require('frisby');

frisby.create('获取SMS选项维护接口')
  .post('http://192.168.247.88:9090/hub/device/getSMSArgs', {
      'device-udid':'092700B6-2E6F-45D7-B55D-AEFACED48DDC',
      'MD5':'d000408309412907b10f6515d1e75ad0'
    })
  .expectStatus(200)
  .expectJSON({
      'result':{
        "value":String,
        "MD5":String,
        "infos":Array
      }})
  .expectJSON('result.infos.?', {
      "id":String,
      "argsname":String,
      "optionname_en":String,
      "optionname_zh":String
    })
.toss();
